package com.qianfeng.biquge.pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

@Data
public class Books {

  private Long bookid;
  private String bookname;//书名
  private Long categoryid;//分类 id
  private Long bookstatus;
  private Long authorid;//作者 id
  @JsonIgnore
  private Double booktotalstars;
  @JsonIgnore
  private Long booktotalstartimes;
  @JsonIgnore
  private Double bookaveragestar;
  private String bookdescription;//图书介绍
  @JsonIgnore
  private java.util.Date shelftime;
  @JsonIgnore
  private Long readernum;
  @JsonIgnore
  private Long favnum;
  @JsonIgnore
  private Long clicksnum;
  @JsonIgnore
  private Long datastatus;
  private String bookpicurl;//图片地址,需要先上传图片

  @JsonIgnore
  private Authors authors;




  public Long getBookid() {
    return bookid;
  }

  public void setBookid(Long bookid) {
    this.bookid = bookid;
  }


  public String getBookname() {
    return bookname;
  }

  public void setBookname(String bookname) {
    this.bookname = bookname;
  }


  public Long getCategoryid() {
    return categoryid;
  }

  public void setCategoryid(Long categoryid) {
    this.categoryid = categoryid;
  }


  public Long getBookstatus() {
    return bookstatus;
  }

  public void setBookstatus(Long bookstatus) {
    this.bookstatus = bookstatus;
  }


  public Long getAuthorid() {
    return authorid;
  }

  public void setAuthorid(Long authorid) {
    this.authorid = authorid;
  }


  public Double getBooktotalstars() {
    return booktotalstars;
  }

  public void setBooktotalstars(Double booktotalstars) {
    this.booktotalstars = booktotalstars;
  }


  public Long getBooktotalstartimes() {
    return booktotalstartimes;
  }

  public void setBooktotalstartimes(Long booktotalstartimes) {
    this.booktotalstartimes = booktotalstartimes;
  }


  public Double getBookaveragestar() {
    return bookaveragestar;
  }

  public void setBookaveragestar(Double bookaveragestar) {
    this.bookaveragestar = bookaveragestar;
  }


  public String getBookdescription() {
    return bookdescription;
  }

  public void setBookdescription(String bookdescription) {
    this.bookdescription = bookdescription;
  }


  public java.util.Date getShelftime() {
    return shelftime;
  }

  public void setShelftime(java.util.Date shelftime) {
    this.shelftime = shelftime;
  }


  public Long getReadernum() {
    return readernum;
  }

  public void setReadernum(Long readernum) {
    this.readernum = readernum;
  }


  public Long getFavnum() {
    return favnum;
  }

  public void setFavnum(Long favnum) {
    this.favnum = favnum;
  }


  public Long getClicksnum() {
    return clicksnum;
  }

  public void setClicksnum(Long clicksnum) {
    this.clicksnum = clicksnum;
  }


  public Long getDatastatus() {
    return datastatus;
  }

  public void setDatastatus(Long datastatus) {
    this.datastatus = datastatus;
  }


  public String getBookpicurl() {
    return bookpicurl;
  }

  public void setBookpicurl(String bookpicurl) {
    this.bookpicurl = bookpicurl;
  }

}
